﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.Entity
{

    /// <summary>
    /// 出库管理表
    /// </summary>
    [SugarTable("enterwarehoues")]
    public class enterwarehoues
    {

        /// <summary>
        /// 出库单号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "出库管理表id")]
        public string enterwarehousecode { get; set; }

        /// <summary>
        /// 出库类型id
        /// </summary>
        [SugarColumn(ColumnDescription = "出库类型id")]
        public string entertypeid { get; set; }

        /// <summary>
        /// 出库主题
        /// </summary>
        [SugarColumn(ColumnDescription = "出库主题", Length = 500)]
        public string? entertheme { get; set; }

        /// <summary>
        /// 出库日期
        /// </summary>
        [SugarColumn(ColumnDescription = "出库日期")]
        public DateTime enterdatatime { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [SugarColumn(ColumnDescription = "客户名称", Length = 50)]
        public string? clientname { get; set; }

        /// <summary>
        /// 生产单号
        /// </summary>
        [SugarColumn(ColumnDescription = "生产单号", Length = 50)]
        public string? productioncode { get; set; }
        /// <summary>
        /// 销售单号
        /// </summary>
        [SugarColumn(ColumnDescription = "销售单号", Length = 50)]
        public string? marketcode { get; set; }

        /// <summary>
        /// 申领部门
        /// </summary>
        [SugarColumn(ColumnDescription = "申领部门", Length = 50)]
        public string? markdepartment { get; set; }

        /// <summary>
        /// 领料人员
        /// </summary>
        [SugarColumn(ColumnDescription = "领料人员", Length = 50)]
        public string? neckpersonnel { get; set; }

        /// <summary>
        /// 出库仓库
        /// </summary>
        [SugarColumn(ColumnDescription = "出库仓库")]
        public string enterwearhouesid { get; set; }

        /// <summary>
        /// 出库人员
        /// </summary>
        [SugarColumn(ColumnDescription = "出库人员", Length = 200)]
        public string? enterpersonnel { get; set; }

        /// <summary>
        /// 关联项目
        /// </summary>
        [SugarColumn(ColumnDescription = "关联项目", Length = 50)]
        public string? relevancyprojectcode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 500)]
        public string? remark { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        [SugarColumn(ColumnDescription = "审核状态")]
        public bool examine_approve { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnDescription = "附件", Length = 10000)]
        public string? enterfile { get; set; }
    }
}
